package org.jin.samples.service;

import java.util.List;

import org.jin.samples.model.CheckUser;
import org.jin.samples.model.ExamScore;
import org.jin.samples.model.ExamSubject;
import org.jin.samples.model.vo.ExamScoreVO;
import org.jin.samples.model.vo.UserSubjectScoreVO;
import org.jin.samples.page.PagerModel;

public interface IScoreService {
	public List<ExamScore> findAllByScoreId(String userId);

	//public ExamSubject findAllBySubjectId(Integer subjectId);
	
	public PagerModel<UserSubjectScoreVO> findAllSubjectScore(String id)throws Exception;

	public ExamScoreVO findScoreByUSId(String userId, Integer subjectId)throws Exception;

	public List<ExamScore> checkUser(CheckUser checkUser) throws Exception;

	public void addScore(ExamScoreVO scoreVO) throws Exception;
}
